
package dao;

import java.util.ArrayList;

import model.UserDTO;
import model.search.UserSearchDTO;

public interface UserDAO {
	public void insertUser(UserDTO user) throws DAOException;
	public void updateUser(UserDTO user) throws DAOException;
	public void updatePassword(UserDTO user, String oldPassword) throws DAOException;
	public void deleteUser(UserDTO user) throws DAOException;
	public ArrayList<UserDTO> getAll() throws DAOException;
	public UserDTO getUser(String id) throws DAOException;
	public ArrayList<UserDTO> findUserByCriteria(UserSearchDTO src) throws DAOException;
}